package net.tp.struct.adt;

public interface Stack<E> {
    
    public int size();

    default public boolean isEmpty() { return size() == 0; }

    public E peek();

    public E pop();

    public void push(E element);

}
